﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace Dragon.Prototype1.Infrastructure
{
    public class ThemeActionFilter:ActionFilterAttribute
    {
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            filterContext.Controller.ViewData["themeName"] = filterContext.HttpContext.Items["themeName"];
            filterContext.Controller.ViewData["IMAGE_SERVER"] = "/";
        }
    }
}
